<?PHP
/*
 * $Id: MailForm.class.php 162 2009-12-16 16:03:27Z namba0219 $
 * =============================================================================
 * Barge - Web application framework on PHP5 
 *  
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * =============================================================================
 * For more information, see http://barge.googlecode.com/
 */
namespace examples\actions;

use barge\System;
use barge\utils\ArrayList;
use barge\utils\HashMap;
use barge\web\ActionContext;
use barge\web\ActionForm;
use barge\web\FormFile;

/**
 * @version 1.0 2009/01/24
 * @author Kenji Namba	
 * @see ActionForm
 */
class MailForm extends ActionForm 
{
	/**
	 * @var string
	 */
	private $to;

	/**
	 * @var string
	 */
	private $bcc;

	/**
	 * @var string
	 */
	private $cc;

	/**
	 * @var string
	 */
	private $body;
	
	/**
	 * @var bool
	 */
	private $html = false;

	/**
	 * @var string
	 */
	private $from;
	
	/**
	 * @var string
	 */
	private $subject;
	
	/**
	 * @var FormFile
	 */
	private $file1;
	
	/**
	 * @var FormFile
	 */
	private $file2;
	
	/**
	 * @var FormFile
	 */
	private $file3;

	/**
	 * @var string
	 */
	private $replyTo;
	
	/**
	 * @var string
	 */
	private $toName;
	
	/**
	 * @var string
	 */
	private $mailType;


	public function getFile3()
	{
		return $this->file3;
	}

	public function setFile3(FormFile $value)
	{
		$this->file3 = $value;
	}
	
	
	public function getMailType()
	{
		return $this->mailType;
	}

	public function setMailType($value)
	{
		$this->mailType = $value;
	}

	public function getToName()
	{
		return $this->toName;
	}

	public function setToName($value)
	{
		$this->toName = $value;
	}

	public function getReplyTo()
	{
		return $this->replyTo;
	}

	public function setReplyTo($value)
	{
		$this->replyTo = $value;
	}
	
	/**
	 * @return bool
	 */
	public function isHtml()
	{
		return $this->html;
	}

	/**
	 * @param bool $value
	 */
	public function setHtml($value)
	{
		$this->html = $value;
	}
	
	/**
	 * @return FormFile
	 */
	public function getFile2()
	{
		return $this->file2;
	}

	public function setFile2(FormFile $value)
	{
		$this->file2 = $value;
	}

	/**
	 * @return FormFile
	 */
	public function getFile1()
	{
		return $this->file1;
	}

	public function setFile1(FormFile $value)
	{
		$this->file1 = $value;
	}

	public function getSubject()
	{
		return $this->subject;
	}

	public function setSubject($value)
	{
		$this->subject = $value;
	}

	public function getFrom()
	{
		return $this->from;
	}

	public function setFrom($value)
	{
		$this->from = $value;
	}

	public function getBody()
	{
		return $this->body;
	}

	public function setBody($value)
	{
		$this->body = $value;
	}

	public function getCc()
	{
		return $this->cc;
	}

	public function setCc($value)
	{
		$this->cc = $value;
	}
	
	public function getBcc()
	{
		return $this->bcc;
	}

	public function setBcc($value)
	{
		$this->bcc = $value;
	}

	public function getTo()
	{
		return $this->to;
	}

	public function setTo($value)
	{
		$this->to = $value;
	}
	
}

